package org.zhuxj.framework.tag.core.easyui.datamodel;

import java.io.Serializable;

public class TreeGridDataModel implements Serializable {

    private static final long serialVersionUID = -4640191209742848965L;
    private String            id;
    private String            name;
    // 数据库里不能用_
    private String            parentId;
    // 实际有效为_parentId
    private String            _parentId        = "";
    private String            icon;
    private String            order;
    private String            state            = "closed";             // open or closed

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this._parentId = parentId;
        this.parentId = parentId;
    }

    public String get_parentId() {
        return _parentId;
    }

    public void set_parentId(String _parentId) {
        this._parentId = _parentId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
